|You can use Prolog to enter goals pertaining to a set of facts and rules. For example, suppose you have a set of facts stored about pizza prices in a knowledge base called pizza.txt.|2925|3375|1590|2895||5715|6305|0|0|
|Prolog searches the knowledge base for a sizeof predicate that has "pizza2" as the first argument. This one does not match because it is a fact about pizza1.|1955|3855|1560|2775||0|0|2|0|
|This goal contains two variables, Pizza and Inches. It directs Prolog to look for any facts containing the sizeof predicate. The results should list all the pizzas and their sizes.|4345|5280|1830|2685||0|0|1|0|